package com.scedu.repository;

import com.scedu.domain.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

// 订单表
// @Repository  持久层
public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {

    Page<OrderMaster> findByOrderOpenid(String orderOpenid,Pageable pageable);//根据 买家的openid，分页参数 分页查询 该买家的所有订单
}
